package com.tac.pojo;

import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonSetter;
import io.swagger.annotations.ApiModel;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@ApiModel
public class Sale {
    @JsonIgnore
    private Integer id;
    @JsonIgnore
    private Integer productId;
    @JsonFormat(shape = JsonFormat.Shape.STRING)
    private LocalDateTime createTime;
    private Integer quantity;
    @JsonIgnore
    private Integer uid;
}
